Skip to content

docs.mk: use posix arguments for cp #22326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 17, 2015
Merged

Conversation

semarie
Copy link
Contributor

@semarie semarie commented Feb 14, 2015

cp -a is a GNU extension. Use an alternate combinaison of POSIX options
(-PRp) that do nearly the same.

The difference is -a will preserve context, links and xattr attributes,
whereas -p not. But as we use it only for copy a file, there is no
difference in the current context.

`cp -a` is a GNU extension. Use an alternate combinaison of POSIX options
(`-PRp`) that do nearly the same.

The difference is `-a` will preserve context, links and xattr attributes,
whereas `-p` not. But as we use it only for copy a file, there is no
difference in the current context.
@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 1c935f1

@alexcrichton alexcrichton assigned alexcrichton and unassigned brson Feb 16, 2015
Manishearth added a commit to Manishearth/rust that referenced this pull request Feb 17, 2015
 `cp -a` is a GNU extension. Use an alternate combinaison of POSIX options
(`-PRp`) that do nearly the same.

The difference is `-a` will preserve context, links and xattr attributes,
whereas `-p` not. But as we use it only for copy a file, there is no
difference in the current context.
@bors bors merged commit 1c935f1 into rust-lang:master Feb 17, 2015
@semarie semarie deleted the compat-cp branch February 17, 2015 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants